package com.example.pojo;

import java.util.Date;

/**
 * 问答信息
 */
public class ChatMessage {
    /**
     * 本句话的唯一标识
     */
    private String uuid;
    /**
     * 本次会话记录唯一标识
     */
    private String chatId;
    
    private String content;
    /**
     * 发送者角色，user：用户，assistant：大模型
     */
    private String role;
    
    private Date time;

    private Integer sequenceNumber;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getChatId() {
        return chatId;
    }

    public void setChatId(String chatId) {
        this.chatId = chatId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getSequenceNumber() {
        return sequenceNumber;
    }

    public void setSequenceNumber(Integer sequenceNumber) {
        this.sequenceNumber = sequenceNumber;
    }
}
